package com.jimikongjian.models;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

/**
 * Created by fuxiuyang on 17-5-8.
 *
 * 存储Token的model类
 */
@Scope("prototype")
@Repository("token")
public class Token {

    /**
     * 邮箱
     */
    private String email;

    /**
     * 随机生成的token
     */
    private String token;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
